package com.zjy.order.service;

import com.zjy.basic.util.AjaxResult;
import com.zjy.basic.util.PageList;
import com.zjy.order.domain.OrderProduct;
import com.zjy.basic.service.BaseService;
import com.zjy.order.query.OrderProductQuery;
import com.zjy.pet.dto.OrderDto;
import com.zjy.product.domain.Product;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ÕÅ¼Òè¤
 * @since 2022-11-19
 */
public interface OrderProductService extends BaseService<OrderProduct> {

    void confirm(OrderDto orderDto);

    PageList<OrderProduct> queryList(OrderProductQuery query, HttpServletRequest request);

    AjaxResult adopt(Product product, HttpServletRequest request);
}
